﻿using M_Process.Domain;
using MediatR;
using System.ComponentModel.DataAnnotations;


namespace M_Process.API.Appliction.Command.ProcessRouteCommand
{
    /// <summary>
    /// 新增工艺信息
    /// </summary>
    public class ProcessRouteCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 工艺表ID
        /// </summary>
     
        public int ProcessRouteId { get; set; }
        /// <summary>
        /// 工艺路线编号
        /// </summary>
        public string? ProcessPouteNumber { get; set; }
        /// <summary>
        /// 工艺路名称
        /// </summary>
        public string? ProcessRouteName { get; set; }
        /// <summary>
        /// 状态 
        /// </summary>
        public bool? State { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 工序主键
        /// </summary>
        public List<int>? ProductionProcessesId { get; set; }
        /// <summary>
        /// 质检组ID
        /// </summary>

        public int QualityprogramId { get; set; }
    }
}
